<?php
/**
 * Created by PhpStorm.
 * User: 68008000
 * Date: 2017/11/17
 * Time: 0:04
 */

namespace app\admin\validate;


use think\Validate;

class Link extends Validate
{
    protected $rule = [
        'lname'  => 'require',
        'url' => 'require',
        'sort' => 'require',

        //手册搜内置规则

    ];

    protected $message = [
        'lnaem.require'  => '请输入链接名称',
        'url.require'  => '请输入链接地址',
        'sort.require'  => '请排序',

    ];
}